Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create solution_java.java #74

Merged
merged 1 commit into from
Oct 14, 2024
Merged

Create solution_java.java #74

merged 1 commit into from
Oct 14, 2024

Conversation

Shubham-09
Copy link
Contributor

@Shubham-09 Shubham-09 commented Oct 14, 2024

🚀 What does this PR do?

  • Adds solution for LeetCode Daily Challenge for 12th October 2024 in Java.
  • Used priority queue to track available chairs for all persons with time intervals

📝 Issue Reference:

Fixes issue: #14

🔍 Checklist:

Please ensure the following before submitting your PR:

  • I have placed my solution in the correct folder (solutions/dayXX/).
  • My code follows clean coding practices and is efficient.
  • I have added comments in my code to explain the approach.
  • I have updated the README.md for the specific day with a brief explanation of my solution.
  • I have tested the solution on LeetCode and it works correctly.

🔧 Solution Details:

  • Language Used: Java
  • Time Complexity: O(n log n)
  • Space Complexity: O(n)

🌟 Additional Notes (if any):

N/A

@arya2004 arya2004 merged commit be4f0cf into arya2004:main Oct 14, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants